import request from '@/utils/request'

/*
 * 采购管理-采购进程 api
 * @path "@/api/prod/purchase/process";
*/

let path = '/prod/purchase/process';

// 详情
export function get(id) {
  return request({
    url: path + `/${id}`,
    method: 'get',
  })
}

// 分页
export function page(data) {
  return request({
    url: path + '/page',
    method: 'post',
    data,
  })
}

// 新增
export function add(data) {
  return request({
    url: path + '/add',
    method: 'post',
    data,
  })
}